package com.founder.bdyx.wxpro.conf;

public class RequestContext {
    private final static ThreadLocal<String> CURRENT_THREAD;

    static{
        CURRENT_THREAD = new ThreadLocal<String>();
    }

    public static void setAccessToken(String token){
        CURRENT_THREAD.set(token);
    }

    public static String getAccessToken(){
        return CURRENT_THREAD.get();
    }
}
